home *** CD-ROM | disk | FTP | other *** search
/ .net 2000 August / NET74.ISO / pc / Software / JavaApplet / AnfyMacBeta1.sea / Anfy for Macintosh / anjavapp / flag / anflag.txt < prev    next >
Encoding:
Text File  |  1999-07-05  |  5.6 KB  |  166 lines  |  [TEXT/ttxt]

  1.  
  2.           Anfyflag - Copyright (C) by Fabio Ciucci 1996-99
  3.  
  4.  
  5. This applet can generate and animate a waving flag in realtime, and
  6. the flags of 34 nations are supported.
  7.  
  8. If the flag you are searching for is not supported by this applet,
  9. please check the FlagLoad applet which loads any GIF/JPG flag.
  10.  
  11. This applet is fully parametrized, so you can change the nation flag and
  12. change the intensity and speed of wind.
  13.  
  14. ************************************************************************
  15.  
  16. NECESSARY FILES.
  17.  
  18. Apart from an optional foreground image, the following 3 ".class" files 
  19. must be uploaded: 
  20.  
  21. AnFlag.class 
  22. Lware.class
  23. anfy.class
  24.  
  25. Plus, AnFlag.jar for speedy loading on recent browsers.
  26.  
  27. ************************************************************************
  28.  
  29. EXAMPLE.
  30.  
  31. Insert the <applet></applet> tag in your html document as follows to add 
  32. this applet to your page (Comments after the ";" symbol are code descriptions
  33.  and acceptable min/max values. They are not part of the applet language):
  34.  
  35. <applet archive="AnFlag.jar" code="AnFlag.class" width="167" height="117">
  36. <param name="credits" value="Applet by Fabio Ciucci (www.anfyteam.com)">
  37. <param name="regcode" value="NO">         ; Registration code (if you have it)
  38. <param name="reglink" value="NO">         ; URL of optional link when clicked
  39. <param name="regnewframe" value="YES">    ; Reglink opened in new frame?
  40. <param name="regframename" value="_blank">   ; Name of new frame for reglink
  41. <param name="statusmsg" value="flag applet"> ; Statusbar message
  42. <param name="res" value="1">                 ; Resolution (1-8)
  43. <param name="backR" value="0">            ; RED comp. of backg. colour (0-255)
  44. <param name="backG" value="0">            ; GREEN comp. of backg. colour (0-255)
  45. <param name="backB" value="60">           ; BLUE comp. of backg. colour (0-255)
  46. <param name="pattern" value="8">          ; Type of drawing pattern (1-8)
  47. <param name="speed" value="3">            ; Speed of wind
  48. <param name="curve" value="3">            ; Curve level (1-5)
  49. <param name="wind" value="8">             ; Wind intensity (0-20)
  50. <param name="nation" value="1">           ; Nation (1-34)
  51. <param name="pixdensity" value="3">       ; Pixel density (1-20)
  52. <param name="overimg" value="NO">         ; Optional image over applet
  53. <param name="overimgX" value="0">         ; Over image X offset
  54. <param name="overimgY" value="0">         ; Over image Y offset
  55. <param name="memdelay" value="1000">      ; Memory deallocation delay
  56. <param name="priority" value="3">         ; Task priority (1..10)
  57. <param name="MinSYNC" value="10">           ; Min. milliseconds/frame for sync
  58. Sorry, your browser doesn't support Java. ; Message for no java browsers.
  59. </applet>                                 ; End of applet tag
  60.  
  61. **************************************************************************
  62.  
  63. INSTRUCTIONS.
  64.  
  65.  
  66. The following instructions describe how to change parameters:
  67.  
  68. Note: Attempting to change the crdits parameter will disable the applet.
  69.  
  70. To activate the "reg" parameters read the shareware registration notes.
  71. In the "regcode" parameter, place the registration code you purchased from
  72.  the author. If the code is correct and the applet is run from the registered
  73.  domain name, you can use "link" parameters to link to a URL when the applet
  74.  is mouse-clicked.
  75.  
  76. If you set "regnewframe" to "YES", you can specify a unique frame location
  77. for the reglink:
  78.  
  79. "_blank"  : To load the link in a new blank unnamed browser window.
  80. "_self"   : To load the link into the same window the applet occupies.
  81. "_parent" : To load the link into the immediate FRAMESET parent.
  82. "_top"    : To load the link into the top body of the window.
  83.  
  84. You can also set a custom frame name, such as "myframe1".
  85.  
  86. With the "overimg" parameter you can specify the name of an image that will
  87. be painted over the applet. The best options are transparent GIF images.
  88.  
  89. NOTE: Animated GIF images are supported, but will be animated only on 
  90. latest browsers (Netscape 4 and Explorer 4 or newer).
  91.  
  92. With "overimgX" and "overimgY" you can center the image over the applet area.
  93.  
  94. You can determine the width and height of the applet with the "width" and
  95. "height" parameters in the <applet> tag.
  96.  
  97. The parameter "res" is the resizer and with any integer, you can strech
  98. the applet image. However, we have found that the best value is 1, because
  99.  enlarging the screen causes poor display.
  100.  
  101. You can change the background colour for best results on your web page.
  102. The RGB values are the same as those in HTML tags, but in purely decimal 
  103. values without the "#" symbol.
  104.  
  105. The style of painting may differ according to the value for the parameter
  106.  "pattern":
  107.  
  108. 1 = small dots
  109. 2 = double dots
  110. 3 = stars
  111. 4 = stars with center hole
  112. 5 = triangles
  113. 6 = triple dots
  114. 7 = triple dots dithered 1
  115. 8 = triple dots dithered 2
  116.  
  117. The "speed" parameter will control the speed of the animation.
  118.  
  119. The "curve" level will change the intensity of vertical waving.
  120.  
  121. The "wind" value will change the meteorologic condition: 0 = no waving,
  122. and 20 = typhoon.
  123.  
  124. The most important parameter is: "nation". The applet supports 34 flags
  125. of 34 nations, which you specify with a number as follows:
  126.  
  127.  1 = Italy
  128.  2 = Spain
  129.  3 = France
  130.  4 = Ireland
  131.  5 = Austria
  132.  6 = Germany
  133.  7 = Netherlands (Holland)
  134.  8 = Belgium
  135.  9 = Luxembourg
  136. 10 = Sweden
  137. 11 = Norway
  138. 12 = Iceland
  139. 13 = Groenland
  140. 14 = Denmark
  141. 15 = Finland
  142. 16 = Poland
  143. 17 = Hungary
  144. 18 = Switzerland
  145. 19 = South Africa
  146. 20 = Russia
  147. 21 = Japan
  148. 22 = Israel
  149. 23 = Greece
  150. 24 = Usa
  151. 25 = Canada
  152. 26 = Australia
  153. 27 = New Zealand
  154. 28 = United Kingdom
  155. 29 = Argentina
  156. 30 = Peru'
  157. 31 = Venezuela
  158. 32 = Mexico
  159. 33 = Brazil
  160. 34 = Colombia
  161.  
  162.  
  163. The "pixdensity" parameter (1-20) determines the distance between plotted points.
  164. So, this works as another resolution parameter.
  165.  
  166.